<?php

	if(!@$_POST['akses'] == true) {
	   die('Akses langsung tidak diperbolehkan!');
	}
	
	include("dboper.php");
	$d_sistem = getConfig();
?>
<form id="formEvaluasi" method="POST" >
	<table>
		<tr>
			<td colspan="2">
				<p>Silahkan anda nilai kinerja <span id="nama"></span> dengan memilih opsi dibawah.<br></p>
			</td>
			<td>
				<input type="hidden" value="<?php echo @$_POST['idAsisten']; ?>" name="idAsisten" />			
				<input type="hidden" value="<?php echo @$d_sistem['kelas'] ?>" name="kelasVoter" />			
				<input type="hidden" value="<?php echo @$d_sistem['matakuliah'] ?>" name="matakuliahVoter" />			
				<input type="hidden" value="true" name="akses" />			
			</td>
		</tr>
		<tr>
			<td width="250px;">
				Kemampuan menguasai materi praktikum.
			</td>
			<td> 
				<div style="width:auto;"><input type="radio" required="" id="materiRate1" name="materiRate" value="1">				
				<label for="materiRate1">&#x2606;</label>		
				<input type="radio" required="" id="materiRate2" name="materiRate" value="2">				
				<label for="materiRate2">&#x2606;&#x2606;</label>
				<input type="radio" required="" id="materiRate3" name="materiRate" value="3">				
				<label for="materiRate3">&#x2606;&#x2606;&#x2606;</label>
				<input type="radio" required="" id="materiRate4" name="materiRate" value="4">				
				<label for="materiRate4">&#x2606;&#x2606;&#x2606;&#x2606;</label></div>
			</td>
		</tr>
		<tr>
			<td>
				Kemampuan membimbing praktikan.
			</td>
			<td> 
				<div style="width:auto;"><input type="radio" required="" id="suasanRate1" name="suasanRate" value="1">				
				<label for="suasanRate1">&#x2606;</label>				
				<input type="radio" required="" id="suasanRate2" name="suasanRate" value="2">				
				<label for="suasanRate2">&#x2606;&#x2606;</label>
				<input type="radio" required="" id="suasanRate3" name="suasanRate" value="3">				
				<label for="suasanRate3">&#x2606;&#x2606;&#x2606;</label>
				<input type="radio" required="" id="suasanRate4" name="suasanRate" value="4">				
				<label for="suasanRate4">&#x2606;&#x2606;&#x2606;&#x2606;</label></div>
			</td>
		</tr>
		<tr>
			<td>
				Kemampuan <i>public speaking</i>.
			</td>
			<td> 
				<div style="width:auto;"><input type="radio" required="" id="speakingRate1" name="speakingRate" value="1">				
				<label for="speakingRate1">&#x2606;</label>				
				<input type="radio" required="" id="speakingRate2" name="speakingRate" value="2">				
				<label for="speakingRate2">&#x2606;&#x2606;</label>
				<input type="radio" required="" id="speakingRate3" name="speakingRate" value="3">				
				<label for="speakingRate3">&#x2606;&#x2606;&#x2606;</label>
				<input type="radio" required="" id="speakingRate4" name="speakingRate" value="4">				
				<label for="speakingRate4">&#x2606;&#x2606;&#x2606;&#x2606;</label></div>
			</td>
		</tr>
		<tr>
			<td>
				Kedisiplinan.
			</td>
			<td> 
				<div style="width:auto;"><input type="radio" required="" id="disiplinRate1" name="disiplinRate" value="1">				
				<label for="disiplinRate1">&#x2606;</label>				
				<input type="radio" required="" id="disiplinRate2" name="disiplinRate" value="2">				
				<label for="disiplinRate2">&#x2606;&#x2606;</label>
				<input type="radio" required="" id="disiplinRate3" name="disiplinRate" value="3">				
				<label for="disiplinRate3">&#x2606;&#x2606;&#x2606;</label>
				<input type="radio" required="" id="disiplinRate4" name="disiplinRate" value="4">				
				<label for="disiplinRate4">&#x2606;&#x2606;&#x2606;&#x2606;</label></div>
			</td>
		</tr>
		<tr>
			<td>
				Pesan dan Saran
			</td>
			<td>
			 	<textarea name="pesanVoter" placeholder="Kesan dan pesan anda."></textarea>
			</td>
		</tr>		
	</table>
<hr>
<div class="fb_footer"> <input type="submit" value="Selanjutnya" id="thirdcheck" /></div>
</form>
<script type="text/javascript" >
jQuery( document ).ready(function( $ ) {
	$("#nama").html('<?php echo @$_POST['namaAsisten']; ?>');
});
</script>
<script type="text/javascript" src="modules/system.js"></script>